{% extends 'base.html' %}

{% from '_form_macros.html' import form_field %}

{% block body %}
<h1>Signup</h1>
<p>Please choose a username and enter your email address.</p>
<form method="post" action="{{ current_url }}" enctype="multipart/form-data">
    <ol>
        <li>{{ form_field(form.username) }}</li>
        <li>{{ form_field(form.email) }}</li>
    </ol>
    <fieldset class="submit">
        <input type="submit" name="submit" value="Save">
    </fieldset>
</form>
{% endblock %}
